package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-02-20
 */
public class InspectProjectDetail extends Model<InspectProjectDetail> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("ITEM")
   private String item;
   @TableField("PROJECT_BO")
   private String projectBo;
   @TableField("ITEM_DESC")
   private String itemDesc;
   @TableField("DATA_TYPE")
   private String dataType;
   @TableField("CHECK_STANDARD")
   private String checkStandard;
   @TableField("STANDARD_VALUE")
   private BigDecimal standardValue;
   @TableField("LOWER_LIMIT")
   private BigDecimal lowerLimit;
   @TableField("UPPER_LIMIT")
   private BigDecimal upperLimit;
   @TableField("SAMPLE_QTY")
   private BigDecimal sampleQty;
   @TableField("ARRAY_NAME")
   private String arrayName;
   @TableField("SOURCE_DATA")
   private BigDecimal sourceData;
   @TableField("REPORT")
   private String report;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getItem() {
      return item;
   }

   public void setItem(String item) {
      this.item = item;
   }

   public String getProjectBo() {
      return projectBo;
   }

   public void setProjectBo(String projectBo) {
      this.projectBo = projectBo;
   }

   public String getItemDesc() {
      return itemDesc;
   }

   public void setItemDesc(String itemDesc) {
      this.itemDesc = itemDesc;
   }

   public String getDataType() {
      return dataType;
   }

   public void setDataType(String dataType) {
      this.dataType = dataType;
   }

   public String getCheckStandard() {
      return checkStandard;
   }

   public void setCheckStandard(String checkStandard) {
      this.checkStandard = checkStandard;
   }

   public BigDecimal getStandardValue() {
      return standardValue;
   }

   public void setStandardValue(BigDecimal standardValue) {
      this.standardValue = standardValue;
   }

   public BigDecimal getLowerLimit() {
      return lowerLimit;
   }

   public void setLowerLimit(BigDecimal lowerLimit) {
      this.lowerLimit = lowerLimit;
   }

   public BigDecimal getUpperLimit() {
      return upperLimit;
   }

   public void setUpperLimit(BigDecimal upperLimit) {
      this.upperLimit = upperLimit;
   }

   public BigDecimal getSampleQty() {
      return sampleQty;
   }

   public void setSampleQty(BigDecimal sampleQty) {
      this.sampleQty = sampleQty;
   }

   public String getArrayName() {
      return arrayName;
   }

   public void setArrayName(String arrayName) {
      this.arrayName = arrayName;
   }

   public BigDecimal getSourceData() {
      return sourceData;
   }

   public void setSourceData(BigDecimal sourceData) {
      this.sourceData = sourceData;
   }

   public String getReport() {
      return report;
   }

   public void setReport(String report) {
      this.report = report;
   }

   public static final String HANDLE = "HANDLE";

   public static final String ITEM = "ITEM";

   public static final String PROJECT_BO = "PROJECT_BO";

   public static final String ITEM_DESC = "ITEM_DESC";

   public static final String DATA_TYPE = "DATA_TYPE";

   public static final String CHECK_STANDARD = "CHECK_STANDARD";

   public static final String STANDARD_VALUE = "STANDARD_VALUE";

   public static final String LOWER_LIMIT = "LOWER_LIMIT";

   public static final String UPPER_LIMIT = "UPPER_LIMIT";

   public static final String SAMPLE_QTY = "SAMPLE_QTY";

   public static final String ARRAY_NAME = "ARRAY_NAME";

   public static final String SOURCE_DATA = "SOURCE_DATA";

   public static final String REPORT = "REPORT";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InspectProjectDetail{" +
         "handle = " + handle +
         ", item = " + item +
         ", projectBo = " + projectBo +
         ", itemDesc = " + itemDesc +
         ", dataType = " + dataType +
         ", checkStandard = " + checkStandard +
         ", standardValue = " + standardValue +
         ", lowerLimit = " + lowerLimit +
         ", upperLimit = " + upperLimit +
         ", sampleQty = " + sampleQty +
         ", arrayName = " + arrayName +
         ", sourceData = " + sourceData +
         ", report = " + report +
         "}";
   }
}